package com.simoniu.hbase.phoenixmybatis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.simoniu.hbase.phoenixmybatis")
@MapperScan({"com.simoniu.hbase.phoenixmybatis.mapper"})//mybatis mapper路径
@EnableTransactionManagement //开启事务
public class PhoenixMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(PhoenixMybatisApplication.class, args);
    }

}
